package org.dromara.system.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 第三方登录对象 sys_social_user
 *
 * @author Lion Li
 * @date 2024-12-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_social_user")
public class SysSocialUser extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户唯一标识
     */
    @TableId(type = IdType.AUTO, value = "openid")
    private String openid;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 用户类型
     */
    private Long userType;

    /**
     * 用户名称
     */
    private String userName;


}
